package com.laoxu.controller;

import com.laoxu.springboot.util.AESUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

/**
 * 测试前后端aes加解密
 *
 * @author xusucheng
 * @create 2019-02-13
 **/
@Controller
public class AESController {
    @RequestMapping("/aes")
    public String aes(){
        return "aes";
    }


    @GetMapping("/decodeHex")
    @ResponseBody
    public String decodeHex(@RequestParam("hexstr") String hexstr) throws Exception {
        String str = "";
        return str;
    }
}
